#include <vector>
#include <iostream>

void print_array(const std::vector<int>& _int_array){
    for(const int& temp_val : _int_array)
        std::cout << temp_val << "  ";
    std::cout << std::endl;
}

void print_array(int _int_array[], int _len){
    //没甚么要点 唯一用的可能比较少的就是这个数组初始化vector吧
    std::vector<int> array(_int_array, _int_array + _len);
    print_array(array);
}

int main(){
    int array[10] = {1,2,3,4,5,6,7,8,9,10};
    print_array(array, 10);
}
